body,
html {
  background: #f4f0ea;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  height: 100%;
  width: 100%;
}
html {
  font-size: 625%; /*100 ÷ 16 × 100% = 625%*/
}

@media screen and (min-width: 360px) and (max-width: 374px) and (orientation: portrait) {
  html {
    font-size: 703%;
  }
}
@media screen and (min-width: 375px) and (max-width: 383px) and (orientation: portrait) {
  html {
    font-size: 732.4%;
  }
}
@media screen and (min-width: 384px) and (max-width: 399px) and (orientation: portrait) {
  html {
    font-size: 750%;
  }
}
@media screen and (min-width: 400px) and (max-width: 413px) and (orientation: portrait) {
  html {
    font-size: 781.25%;
  }
}
@media screen and (min-width: 414px) and (max-width: 431px) and (orientation: portrait) {
  html {
    font-size: 808.6%;
  }
}
@media screen and (min-width: 432px) and (max-width: 479px) and (orientation: portrait) {
  html {
    font-size: 843.75%;
  }
}

* {
  border: 0;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
input,
button {
  outline: none;
}
main {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.input-area {
  text-align: center;
  padding-top: 0.2rem;
}

.input-area > input {
  width: 1.6rem;
  height: 0.3rem;
  line-height: 0.3rem;
  padding-left: 0.1rem;
  border-radius: 0.04rem;
  border: 1px solid #cccccc;
  font-size: 0.16rem;

}
.input-area > button {
  padding: 0 0.1rem;
  height: 0.3rem;
  line-height: 0.3rem;
  border-radius: 0.04rem;
  color: #ffffff;
  background-color: #f03107;
  font-size: 0.16rem;
}
.input-area > button:hover {
  background-color: #3ca0ec;
}

.pinyin-box {
  text-align: center;
  width: 4rem;
  max-width: 400px;
  height: 0.3rem;
  line-height: 0.3rem;
  margin: 0.2rem auto;
  font-size: 0.26rem;
}

.read-btn {
  font-size: 0.14rem;
  padding: 0 0.1rem;
  height: 0.3rem;
  line-height: 0.3rem;
  border-radius: 0.04rem;
  color: #ffffff;
  background-color: #3ca0ec;
  float: right;
  display: none;
}

.target-box {
  text-align: center;
  width: 4rem;
  max-width: 400px;
  height: 4rem;
  max-height: 400px;
  margin: 0.1rem auto;
  border: 1px solid #cccccc;
  background-color: #ffffff;
  position: relative;
}
.target-box::before {
  content: '';
  display: block;
  height: 1px;
  width: 100%;
  border-top: 1px dashed #151515;
  position: absolute;
  top: 50%;
  left: 0;
}
.target-box::after {
  content: '';
  display: block;
  width: 1px;
  height: 100%;
  border-left: 1px dashed #151515;
  position: absolute;
  top: 0;
  left: 50%;
}
.target-box > .target {
  position: absolute;
  z-index: 99999999;
}
